package com.qf.spring001.service.impl;


import com.qf.spring001.dao.UserDao;
import com.qf.spring001.dao.impl.UserDaoImpl;
import com.qf.spring001.service.UserService;

public class UserServiceImpl implements UserService {

    private UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
    @Override
    public String queryUser() {
        return userDao.getUserByid(1);
    }

}

